@import "~tailwindcss/dist/base.css";

:root {
  font-family: MicrosoftYaHei, 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

:root {
  --color-primary: #548DBF;
  --color-primary-light-1: #EEF4F9;
  --color-primary-light-2: #DDE8F2;
  --color-primary-light-3: #CCDDEC;
  --color-primary-light-4: #BBD1E5;
  --color-primary-light-5: #AAC6DF;
  --color-primary-light-6: #98BBD9;
  --color-primary-light-7: #87AFD2;
  --color-primary-light-8: #76A4CC;
  --color-primary-light-9: #6598C5;
  --color-darken-primary-1: #4C7FAC;
  --color-darken-primary-2: #437199;
  --color-darken-primary-3: #3B6386;

  --header-height: 60px;
}

html, body, #main {
  width: 100%;
  height: 100%;
}

.el-button.block-button {
  width: 100%;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.danger {
  color: #F56C6C;
}

.container {
  flex: 1;
  margin: 0 15px 10px;
  overflow: hidden;
}

.entity-form.el-drawer__wrapper {
  position: absolute;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.cp {
  cursor: pointer;
}

.oh {
  overflow: hidden;
}

.dn {
  display: none;
}

.hidden-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
  visibility: hidden;
  display: none;
}

.el-loading-mask {
  background-color: transparent;
  backdrop-filter: blur(3px);
}

.mapboxgl-control-container {
  display: none !important;
  visibility: hidden;
}

.slide-fade-enter-active,
.slide-fade-leave-active {
  transition: all 0.4s ease-in-out;
}

.slide-fade-enter,
.slide-fade-leave-to {
  opacity: 0;
  transform: translateX(-20px);
}

.fade-down-enter-active,
.fade-down-leave-active {
  transition: all 0.3s ease-in-out;
}

.fade-down-enter,
.fade-down-leave-to {
  opacity: 0;
  transform: translateY(10px);
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.flex-none {
  flex: none;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center	 {
  align-items: center;
}

.mapbox-draw .mapboxgl-popup-content {
  padding: 0;
  margin-left: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
  display: flex;
  flex-direction: row;
  background: transparent;
}
